<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>用户中心</title>

    <link rel="stylesheet" href="__STATIC__/before/style/home.css" type="text/css">
    <link rel="stylesheet" href="__STATIC__/before/style/user.css" type="text/css">
    <script type="text/javascript" src="__STATIC__/before/js/home.js"></script>

  {include file="public/header" /}


</head>
<body>
<!-- 顶部导航 start -->
{include file="public/topnav" /}
<!-- 顶部导航 end -->

<div style="clear:both;"></div>

<!-- 头部 start -->
<div class="header w1210 bc mt15">
    <!-- 头部上半部分 start 包括 logo、搜索、用户中心和购物车结算 -->
    {include file="public/top-header" /}
    <!-- 头部上半部分 end -->

    <div style="clear:both;"></div>

    <!-- 导航条部分 start -->
    {include file="public/nav-different" /}
    <!-- 导航条部分 end -->
</div>
<!-- 头部 end-->

<div style="clear:both;"></div>

<!-- 页面主体 start -->
<div class="main w1210 bc mt10">


    <!-- 左侧导航菜单 start -->
  {include file="public/left_menu" /}
    <!-- 左侧导航菜单 end -->

    <!-- 右侧内容区域 start -->
    <div class="content fl ml10">
        <div class="user_hd">
            <h3>账户信息</h3>
        </div>

        <div class="user_bd mt10">
            <form action="{:url('User/update')}" method="post">
                <input type="hidden" name="id" value="{$user->id}">
                <ul>
                    <li>
                        <label for="">真是姓名：</label>
                        {if empty($user->real_name)}
                       <input type="text" class="txt" name="real_name" value="{$user->real_name}"/>
                        {else /}
                        <strong name="real_name">{$user->real_name}</strong>
                        {/if}

                    </li>
                    <li>
                        <label for="">昵称：</label>
                        <input type="text" class="txt" name="user_name" value="{$user->user_name}"/>
                    </li>
                    <li style="display: inline-block;height: 20px">
                        <label for="">邮箱：</label>
                        <input type="email" class="txt" name="email" value="{$user->email}"/>
                    </li>
                    <li>
                        <label for="">手机号码：</label>
                        <input type="text" class="txt" name="phone" value="{$user->phone}" />
                    </li>
                    <li>
                        <label for="">&nbsp;</label>
                        <input type="submit" value="提交" class="sbtn" />
                    </li>
                </ul>
            </form>
        </div>
    </div>
    <!-- 右侧内容区域 end -->
</div>
<!-- 页面主体 end-->

<div style="clear:both;"></div>

<!-- 底部导航 start -->
{include file="public/bottomnav" /}
<!-- 底部导航 end -->

<div style="clear:both;"></div>
<!-- 底部版权 start -->
<div class="footer w1210 bc mt10">
    {include file="public/footer" /}
</div>
<!-- 底部版权 end -->
</body>
</html>